
<!-- target:detail -->
<div class="page-cont grey-bg" ui="type:m-panel">
    <!-- <div class="blank-grey"></div> -->
    <div class="detail-title">
        <div class="title-text">${detail.creatorName}提交的厂牌立项申请</div>
        <!-- if:${detail.projectStatus} == 1 -->
        <div class="title-tip">等待${detail.approval.currentApproverName}处理</div>
        <!-- else -->
        <div class="title-tip">${detail.projectStatus|parseBaseInfo('finInvoiceStatus')}</div>
        <!-- /if -->
    </div>

    <div class="info-part">
        <div class="info-item">
            <div class="info-label">厂牌</div>
            <div class="info-text">${detail.sponsorShortName|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">项目名称</div>
            <div class="info-text">${detail.projectName|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">标签</div>
            <div class="info-text">${*detail.projectTypeList|joinArr('projectName')|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">项目概述</div>
            <div class="info-text">${detail.projectDesc|default}</div>
        </div>
        <div class="info-item">
            <div class="info-label">开始时间</div>
            <div class="info-text">${detail.showStartTime|dateFormat('yyyy年MM月dd日HH:mm')}</div>
        </div>
        <div class="info-item">
            <div class="info-label">结束时间</div>
            <div class="info-text">${detail.showEndTime|dateFormat('yyyy年MM月dd日HH:mm')}</div>
        </div>
        <div class="info-item">
            <div class="info-label">场地</div>
            <div class="info-text">${detail.labelProjectVenue.venueName}</div>
        </div>
        <div class="info-item">
            <div class="info-label">备注</div>
            <div class="info-text">${detail.remark|default}</div>
        </div>

        <div class="info-item">
            <div class="info-label">预算明细 <span class="fr" ui="type:mao.ui.ExpandBtn;cont:cont_${num}"></span></div>
            <div class="info-text">
                <div class="info-list plan-style" id="cont_${num}">
                    <!-- for:${detail.budgetDetailList} as ${item},${index} -->
                        <!-- use:project.budget-info-item(item=${item},i=${index}) -->
                    <!-- /for -->
                </div>
            </div>
        </div>
    </div>


    <!-- use:fileInfo -->
    <!-- use:approvalPeople -->
    
    <div class="blank-grey"></div>
</div>
<!-- use:project.comment -->


<!-- target:comment -->
<form class="operate-btn-box" ui="ext-ios-fixed:top" name="billCommentForm">
    <input class="ui-hide" ui="type:text" name="id" value="${detail.id}" />
    <input class="ui-hide" ui="type:text" name="action" value="" />
    <label ui="type:NS.CommentSave;name:comment;">
        <input class="text" type="text" placeholder="请输入" name="comment" />
        <input class="submit-btn" type="button" disabled value="提交"/>
        <div class="btn-items">
            <strong type="text" class="btn-item comment-item" ui="module:${module};action:7">
                <span class="icon"></span>
                <span>评论</span>
            </strong>
        </div>
    </label>
    <div class="operate-btns">
        <!-- if:${detail.approval.isCurrentApprover} -->
            <!-- if:${detail.projectStatus} === 1 -->
            <strong class="operate-btn refuse-btn" ui="type:mao.ui.ApprovalSubmitBtn;bType:6;cType:2;tip:审批已拒绝">拒绝</strong>
            <strong class="operate-btn agree-btn" ui="type:mao.ui.ApprovalSubmitBtn;bType:6;cType:3;tip:审批已同意">同意</strong>
            <!-- /if -->
        <!-- /if -->
    </div>
</form>


<!-- target:budget-info-item -->
<li class="info-list-item">
    <div class="info-title">预算明细={${i} + 1}：</div>
    <div class="info-item">
        <div class="info-label">预算类型</div>
        <div class="info-text">${item.budgetType|parseBaseInfo('sponsorFinanceExpenditureCode')}</div>
    </div>
    <div class="info-item">
        <div class="info-label">预算名称</div>
        <div class="info-text">${item.budgetName|default}</div>
    </div>
    <div class="info-item">
        <div class="info-label">金额</div>
        <div class="info-text">${item.budgetAmount|default}元</div>
    </div>
</li>

